<?php

if(!$_SESSION['uid']){
    echo '请登录!';
    header('Location:'.url(['admin','index','login','admin.php']));
    exit;
}